package bjtu.pinet.dto;

import java.sql.Timestamp;

/**
 * author:chushuai
 * date:2021.2.13
 */
public class PinetNetworkConfigObject {
    private int id;
    private String administratorId;
    private String password;
    private Timestamp time;
    private int networkTypeId;
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }



    public PinetNetworkConfigObject(int id, String administratorId, String password, Timestamp time, int networkTypeId) {
        this.id = id;
        this.administratorId = administratorId;
        this.time = time;
        this.password = password;
        this.networkTypeId = networkTypeId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public int getNetworkTypeId() {
        return networkTypeId;
    }

    public void setNetworkTypeId(int networkTypeId) {
        this.networkTypeId = networkTypeId;
    }

    public String getAdministratorId() {
        return administratorId;
    }

    public void setAdministratorId(String administratorId) {
        this.administratorId = administratorId;
    }

    @Override
    public String toString() {
        return "PinetNetworkConfigObject{\n" +
                "id=" + id +"\n"+
                "administratorId=" + administratorId +"\n"+
                "time=" + time +"\n"+
                "newNetworkTypeId=" + networkTypeId +"\n"+'}';
    }
}
